<template>
    <div id="product_details">
            <button @click="back">back</button>
            product_details------
    </div>
</template>
<script>
    export default{
        data(){
            return{}
        },
        created(){
            alert(this.$route.query.id);
        },
        methods:{
            back(){
                this.$router.back();
            }
        }
    }
</script>
